package design.observer;

import java.util.Observable;
import java.util.Observer;

/**
 * 被统通知者
 *
 * @author wei.yang on 2018/8/31
 */
public class CustomerObserver implements Observer {

    @Override
    public void update(Observable o, Object arg) {
        System.out.println(String.format("update msg %s %s", arg, System.currentTimeMillis()));
    }
}
